package response

type HttpCode int16

var (
	successCode          HttpCode = 200 // 请求成功
	notFoundCode         HttpCode = 404 // 未找到服务资源
	errorCode            HttpCode = 500 // 请求服务器错误
	badRequestCode       HttpCode = 400 // 客户端请求错误
	notLoginCode         HttpCode = 401 // 未登录
	noPermissionCode     HttpCode = 403 // 无权限
	LoginErrorCode       HttpCode = 405 // 用户名或密码错误
	badRequestParamsCode HttpCode = 403 // 错误的请求参数
)
